import React, { Component, Suspense } from 'react';
import PageHeaderWrapper from '@/components/PageHeaderWrapper';

import { connect } from 'dva';
import PageLoading from '@/components/PageLoading';
import { FormattedMessage } from 'umi-plugin-react/locale';
import { Row, Col, Card, Icon, Tooltip, Form, Button, Input, Spin, Table, message, InputNumber, Drawer,Progress  } from 'antd';
import styles from "./index.less";
import { runInThisContext } from 'vm';


const FormItem = Form.Item;
class ProgressA extends Component {
  constructor(props) {
    super(props);
    this.state = {
      
    };
  }

  componentDidMount() {

  }

  render() {
   
      
    return (

      <div className={styles.progrees} style={{ minHeight: 'calc(100vh - 150px)', background: '#ffffff' }}>
        <div style={{color:'#000'}}>正在智能识别闲聊知识库...</div>
        <div style={{height:30}}></div>
        <Progress 
        type="circle" 
        percent={75} 
        width={90}
        strokeWidth={10}
        />
        <div style={{height:30}}></div>
        <Button type='primary'>关闭</Button>
      </div>
    );
  }


}

export default connect(({ user }) => ({ // 全局数据
  currentUser: user.currentUser,
}))(Form.create()(ProgressA));